package com.study.talk.module.netty.message.response;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 发出群聊聊信息的客户端的消息回响
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GroupMessageSelfResponse extends TalkMessage {


    private Integer sendId;

    private Integer groupId;

    private String content;

    private Integer messageType = 0;

    private Boolean success;

    @ApiModelProperty("原因")
    private String reason;

    @Override
    public byte getType() {
        return MessageType.GROUP_MESSAGE_SELF_RESPONSE;
    }
}
